function create_updated_collection(collection_a, object_b) {
  for(let i of collection_a ){
    for(let item of object_b.value)
  if(i.key==item){
     i.count= i.count-1;
   }
 }
 return collection_a;
 console.log(collection_a);//在这里写入代码
}

module.exports = create_updated_collection;
